home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000279_news@watsun.cc.columbia.edu _Wed Feb 24 22:29:53 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA27717
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 24 Feb 1999 22:29:52 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id WAA18082
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 24 Feb 1999 22:09:40 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: Mickey Stein <yekkim@cts.com>
  10. Subject: Re: Setserial High Speed Help
  11. Date: Wed, 24 Feb 1999 19:09:30 -0800
  12. Organization: CTS Network Services
  13. Message-ID: <36D4BEEA.D6047B94@cts.com>
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16.  
  17.  
  18. C Lance Moxley wrote:
  19.  
  20. > In comp.os.linux.hardware Mickey Stein <yekkim@cts.com> wrote:
  21. > > I know I missed 99% of this thread but I've got a 16750 UART and an ISDN modem.
  22. > > The UART is capable of 921,600 baud_total. The Modem is capable of 230400 via a
  23. > > special command to the modem. To setup the UART via setserial in Linux, I've got
  24. > > to use a "setserial /dev/ttySx UART 16750 baud_total 921600 baud_divisor 4
  25. > > spd_cust" command but forgive me for the syntax errors since I'm not in linux at
  26. > > the moment. It's close to that command anyway. This allows the UART to operate at
  27. > > 921600 (which is the true top speed for the 16750) divided by 4 which is the
  28. > > divisor that'll give you 230400 and then spd_cust tells it that when you set the
  29. > > baud rate to 38,400 to REALLY run at 230,400. I know that sounds insane but do a
  30. > > man on setserial and check it out. No way can I do a setserial 230400 or ppp baud
  31. > > set = 230400 and get anything to work.
  32. >
  33. > This is the part that I need help with. My serial card has a 16650
  34. > UART. The manufacturer says that it will go 460800bps. So you're
  35. > saying that if I set the baud_base to 460800 and the divisor to 2
  36. > I'll be able to get 230400bps if I use spd_cust and set my ppp to
  37. > use 38400?
  38.  
  39. Well it sounds like you're on the right track for setserial. I'd give that a try.
  40.  
  41. > I've poured over the setserial manual but didn't figure out that
  42. > 38400 would really mean something else.
  43.  
  44. Sorry: I thought it said that right on the man page for setserial.
  45.  
  46. > > The second part is whether you're using a modem on this serial port and if so :
  47. > > is it an isdn modem or some modem that is really designed to operate at 230400?
  48. > > There's only 2 isdn modems that I know of (bitsurfer and 3com iq) that'll run at
  49. > > this speed and even then they won't take typed in "AT" commands at that speed. As
  50. >
  51. > I have an Eicon Diva ISDN T/A. The manual says to drive the DTE at 230400
  52. > if you can and that's what I'm trying to do. I don't know if it will
  53. > take AT commands at that speed or not. If not, then how do you really
  54. > get it to run at 230400? I mean, you have to dial a number somehow.
  55.  
  56. Maybe you need to slow down and get it working at 115K first. All of these isdn modems
  57. will talk to an async term emulator (like minicom or seyon or even the interactive mode
  58. of kermit) at 115, but I've yet to see one that'll talk to any modem at 230K. There's a
  59. trick (or what looks like a trick to me) and that usually consists of a special one-way
  60. only setup string for the modem when it's in autobaud(115) mode. I think on 3com's it's
  61. something like at $230000 or some such thing (that's definitely wrong... ) , but you
  62. need to work out the bugs of your hookup at 115 before you commit to a mode where you
  63. can't interactively communicate with the modem. Doesn't it say this stuff somewhere in
  64. your modem manual? Seems like it should. In windows, there's some driver code written
  65. that will allow switching back & forth via some tiny output i/o progs that just switch
  66. from 230k to autobaud and vice-versa. In Linux you're on your own. It shouldn't be very
  67. complex to figure out what was output and write your own little c program. I just never
  68. bothered and when I want to talk to the modem and see the result of at commands, then I
  69. reset it and it by default comes up autobaud and can be talked to without going nuts at
  70. 230k.
  71.  
  72. There's some decent info over on the Pacific Turbocomm site about this stuff (look for
  73. their 230K switching program and linux info). Sorry but I don't have the url but just
  74. search "Pacific Turbocomm" on altavista or something.
  75.  
  76. Anyway.. give that setserial the way you mentioned it a try and good luck with this
  77. thing. It can be done in linux and you should be able to get both b channels working
  78. too.
  79.  
  80.          Mick
  81.  
  82.  
  83. >
  84. >
  85. > --
  86. > C Lance Moxley
  87. > http://www.uiuc.edu/ph/www/clm
  88.